# -*- coding: utf-8 -*-
# @Time    : 2020/1/8 10:15
# @Author  : Weymouth
# @Email   : 261229090@qq.com
# @File    : json_test.py
# @Software: PyCharm
# ---------------------------------------------------

#!/usr/bin/env python
#coding:utf-8
import requests,json
url="http://192.168.10.215:8885/auth/login/v2?traderId=70000000012&password=123456"
headers={'Content-Type':'application/json;charset=UTF-8'}
request_param={
    "phone":"18200000000",
    "password":"111111"
}
response=requests.post(url,data=json.dumps(request_param), headers=headers)
print response.text